package com.zzq.demo.h2.service.impl;

import com.zzq.demo.h2.entity.Staff;
import com.zzq.demo.h2.mapper.StaffMapper;
import com.zzq.demo.h2.service.StaffService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 平台名-子平台名-模块名:
 *
 * <p>//TODO 类描述
 *
 * @author wallace.zhao 2020-03-03
 */
@Service
public class StaffServiceImpl implements StaffService {

    @Resource
    private StaffMapper staffMapper;

    @Override
    public List<Staff> list() {
       return staffMapper.selectAll();
    }
}
